翻訳と辞書
Words near each other
・ Determination of equilibrium constants
・ Determination of the day of the week
・ Determinative
・ Determinatum
・ Determine
・ Determined (song)
・ Determiner
・ Determiner phrase
・ Determiner spreading
・ Determining the number of clusters in a data set
・ Determinism
・ Determinism (disambiguation)
・ Deterministic acyclic finite state automaton
・ Deterministic algorithm
・ Deterministic automaton
Deterministic context-free grammar
・ Deterministic context-free language
・ Deterministic encryption
・ Deterministic finite automaton
・ Deterministic garbage collector
・ Deterministic global optimization
・ Deterministic memory
・ Deterministic noise
・ Deterministic Parallel Java
・ Deterministic parsing
・ Deterministic pushdown automaton
・ Deterministic routing
・ Deterministic scale-free network
・ Deterministic simulation
・ Deterministic system


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Deterministic context-free grammar : ウィキペディア英語版
Deterministic context-free grammar
In formal grammar theory, the deterministic context-free grammars (DCFGs) are a proper subset of the context-free grammars. They are the subset of context-free grammars that can be derived from deterministic pushdown automata, and they generate the deterministic context-free languages. DCFGs are always unambiguous, and are an important subclass of unambiguous CFGs; there are non-deterministic unambiguous CFGs, however.
DCFGs are of great practical interest, as they can be parsed in linear time and in fact a parser can be automatically generated from the grammar by a parser generator. They are thus widely used throughout computer science. Various restricted forms of DCFGs can be parsed by simpler, less resource-intensive parsers, and thus are often used. These grammar classes are referred to by the type of parser that parses them, and important examples are LALR, SLR, and LL.
==History==

In the 1960s, theoretical research in computer science on regular expressions and finite automata led to the discovery that context-free grammars are equivalent to nondeterministic pushdown automata.〔
〕〔
〕〔
〕 These grammars were thought to capture the syntax of computer programming languages. The first computer programming languages were under development at the time (see History of programming languages) and writing compilers was difficult. But using context-free grammars to help automate the parsing part of the compiler simplified the task. Deterministic context-free grammars were particularly useful because they could be parsed sequentially by a deterministic pushdown automaton, which was a requirement due to computer memory constraints. In 1965, Donald Knuth invented the LR(k) parser and proved that there exists an LR(k) grammar for every deterministic context-free language. This parser still required a lot of memory. In 1969 Frank DeRemer invented the LALR and Simple LR parsers, both based on the LR parser and having greatly reduced memory requirements at the cost of less language recognition power. The LALR parser was the stronger alternative. These two parsers have since been widely used in compilers of many computer languages.

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Deterministic context-free grammar」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.